#ifndef _LOG_FILE_H_
#define _LOG_FILE_H_

#include <string>

class LogFile
{
public:
	LogFile(const std::string& filename);
	LogFile();
	~LogFile();
	void write(const std::string& log);

	static std::string dirName;
	static std::string separator;
private:
	int createLogFile(const std::string& filename);
	LogFile(const LogFile&);
	LogFile& operator=(const LogFile&);

	int m_fd;
};

#endif
